<%--
说明：资源账号信息打印页面

@author liuxun 2012-03-18
--%>
<%@ include file="../../common/common.jsp"%>
<%
	response.setHeader("Pragma", "No-cache");
	response.setHeader("Cache-Control", "no-cache");
	response.setDateHeader("Expires", 0);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<meta http-equiv="Expires" content="0" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />

<%-- 插入打印控件 --%>
<OBJECT ID="jatoolsPrinter" CLASSID="CLSID:B43D3361-D975-4BE2-87FE-057188254255" codebase="<c:url value="/jatools/jatoolsP.cab"/>#version=1,2,0,2"></OBJECT>
<script type="text/javascript">
function doPrint(){
	myreport = {
			print_settings:{
               // 指定纸张的高宽以毫米为单位z
              pageWidth : 2200, 
              pageHeight : 1000,

             // 指定打打印方向为横向, 1/2 = 纵向/横向
             orientation : 1 },
			documents:document,
			copyrights:'杰创软件拥有版权 www.jatools.com'
	};
	
	//jatoolsPrinter.printPreview(myreport);
	jatoolsPrinter.print(myreport,false);
}   
</script>
<title>资源账号信息打印</title>
</head>
<body onload="doPrint()">
<c:forEach var="rsc_acc" items="${listRsc_acc}" varStatus="status">
<div id='page${status.index+1 }' style='background:#ffffff;margin:0;width:100%;height:50px;float:center'>
	<table style="width: 100%; height: 100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td valign="top">

            <table border="0" cellpadding="0" cellspacing="0" class="infoTableBorder">
              <tr>
                <td>
                  <table style="width: 100%" align="center" border="0" cellPadding="0" cellSpacing="0" class="infoTable">
                    <tr>
                      <td style="height: 40px;" colspan="2" class="infoConstLabelTD">&nbsp;</td>
                    </tr>
                    
                    <tr>
                      <td align="left"  width="50%" nowrap>&nbsp;&nbsp;&nbsp;
                      	流水号：${rsc_acc.SERIALNUMBER }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      </td>
                      <td align="right" width="50%">${rsc_acc.RSC_ACC_NO } &nbsp; </td>
                    </tr>                    

                    <tr>
                      <td align="left"  width="50%" nowrap>&nbsp;&nbsp;&nbsp;
                      	资源组：${rsc_acc.RSC_GRP_NAME}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      </td>
                      <td align="right" width="50%"> &nbsp; </td>
                    </tr>
                    
                    <tr>
                      <td nowrap>&nbsp;&nbsp;&nbsp;
                      	资源名称：${rsc_acc.RSC_NAME}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      </td>
                      <td > &nbsp; </td>                     
                    </tr>
                    
                    <tr>
                      <td nowrap>&nbsp;&nbsp;&nbsp;
                      	资源账号：${rsc_acc.RSC_ACC}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      </td>
                      <td > &nbsp; </td>                     
                    </tr>                    
                  
                    <tr>
                      <td nowrap>&nbsp;&nbsp;&nbsp;
                      	管理IP：${rsc_acc.MANAGE_IP }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      </td>
                      <td>&nbsp; </td>
                    </tr>
                    
                    <tr>
                      <td nowrap>&nbsp;&nbsp;&nbsp;
                      	生成日期：${rsc_acc.DATETIME }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      </td>
                      <td>&nbsp; </td>
                    </tr>

                    <tr>
                      <td align="center" colspan="2" nowrap="nowrap">&nbsp;</td>
                    </tr>
                    
                    <tr>
                      <td nowrap>&nbsp;&nbsp;&nbsp;
                      	申请日期：______________&nbsp;申请人：______________
                      </td>
                      <td>&nbsp; </td>
                    </tr>                    

                    <tr>
                      <td align="center" colspan="2" nowrap="nowrap">&nbsp;</td>
                    </tr>
                    
                    <tr>
                      <td align="center" colspan="2" nowrap="nowrap">&nbsp;</td>
                    </tr>
                    
                    <tr>
                      <td align="center" colspan="2" nowrap="nowrap">&nbsp;</td>
                    </tr>                    
                    <tr>
                      <td>&nbsp;</td>
                      <td align="right" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      		密码：${rsc_acc.PASSWORD }&nbsp; </td>
                    </tr>
                    
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>      
	</div>
</c:forEach>
</body>
</html>
